package com.xiaofeng.pochi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaofeng.pochi.common.Page;
import com.xiaofeng.pochi.pojo.SysMenu;
import com.xiaofeng.pochi.pojo.SysNotice;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/08/07/20:58
 * @Description:
 */
public interface SysNoticeMapper extends BaseMapper<SysNotice> {
    SysNotice get(Long id);

    void delete(Long id);

    void updateEnable(SysNotice sysNotice);

    List<SysNotice> getByPage(Page<SysNotice> page);

    Integer countByPage(Page<SysNotice> page);

    void update(SysNotice sysNotice);

    List<SysNotice> getNoticeList();

}
